namespace ZR.Model.Models.ProductionControl
{
    /// <summary>
    /// DB块故障组
    /// </summary>
    [SugarTable("fault_large_group")]
    public class FaultLargeGroup : BaseEntity
    {
        /// <summary>
        /// 序号
        /// </summary>
        [SugarColumn(IsPrimaryKey = false, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 产线
        /// </summary>
        [SugarColumn(ColumnName = "production_Line")]
        public string ProductionLine { get; set; }

        /// <summary>
        /// 工位代号
        /// </summary>
        [SugarColumn(ColumnName = "station_code")]
        public string StationCode { get; set; }

        /// <summary>
        /// DB块
        /// </summary>
        [SugarColumn(ColumnName = "db_block")]
        public int DbBlock { get; set; }

        /// <summary>
        /// 起始bit
        /// </summary>
        [SugarColumn(ColumnName = "db_start_byte")]
        public int DbStartByte { get; set; }

        /// <summary>
        /// 截止bit
        /// </summary>
        [SugarColumn(ColumnName = "db_end_byte")]
        public int DbEndByte { get; set; }

        /// <summary>
        /// ByteNo
        /// </summary>
        [SugarColumn(ColumnName = "byte_no")]
        public int ByteNo { get; set; }

        /// <summary>
        /// byte长度
        /// </summary>
        [SugarColumn(ColumnName = "byte_count")]
        public int ByteCount { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "creation_time")]
        public DateTime? CreationTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(ColumnName = "creator_name")]
        public string CreatorName { get; set; }
    }
}